package com.zhongkeruan.product.service;

import com.zhongkeruan.common.model.Product;

import java.util.List;

/**
 * @author yangyao
 * @Description: UserService
 * @date 2019/1/11 15:13
 */
public interface ProductService {

    public List<Product> getProductList() throws Exception;

    public Product getProductById(Long id) throws Exception;

    public int addProduct(Product product) throws Exception;
}
